package com.winter.mapper;

import com.winter.model.NewDatumOrder;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NewDatumOrderMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewDatumOrder record);

    int insertSelective(NewDatumOrder record);

    NewDatumOrder selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewDatumOrder record);

    int updateByPrimaryKey(NewDatumOrder record);

    NewDatumOrder queryUserNoAndDatumId(@Param("userNo") String userNo, @Param("outTradeNo") String outTradeNo);
}